package com.ruoyi.hotel.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;  import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * 采购管理对象 purchase
 * 
 * @author zzd
 * @date 2025-03-05
 */
@Data  @NoArgsConstructor
@AllArgsConstructor
public class Purchase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 采购物品名称 */
    @Excel(name = "采购物品名称")
    private String purchaseName;

    /** 采购数量 */
    @Excel(name = "采购数量")
    private String purchaseNum;

    /** 采购描述 */
    private String purchaseDescribe;


    /** 采购描述 */
    @Excel(name = "设备编号")
    private String deviceCode;

    /** 采购描述 */
    @Excel(name = "设备位置")
    private String deviceLocation;

    /** 审批数量 */
    @Excel(name = "审批数量")
    private String adviceNum;

    /** 审批金额 */
    @Excel(name = "审批金额")
    private String adviceMoney;

    /** 采购状态 */
    private String status;

    /** 状态文本 */
    private String statusText;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setPurchaseName(String purchaseName) 
    {
        this.purchaseName = purchaseName;
    }

    public String getPurchaseName() 
    {
        return purchaseName;
    }

    public void setPurchaseNum(String purchaseNum) 
    {
        this.purchaseNum = purchaseNum;
    }

    public String getPurchaseNum() 
    {
        return purchaseNum;
    }

    public void setPurchaseDescribe(String purchaseDescribe) 
    {
        this.purchaseDescribe = purchaseDescribe;
    }

    public String getPurchaseDescribe() 
    {
        return purchaseDescribe;
    }

    public void setAdviceNum(String adviceNum) 
    {
        this.adviceNum = adviceNum;
    }

    public String getAdviceNum() 
    {
        return adviceNum;
    }

    public void setAdviceMoney(String adviceMoney) 
    {
        this.adviceMoney = adviceMoney;
    }

    public String getAdviceMoney() 
    {
        return adviceMoney;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setStatusText(String statusText) 
    {
        this.statusText = statusText;
    }

    public String getStatusText() 
    {
        return statusText;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("purchaseName", getPurchaseName())
            .append("purchaseNum", getPurchaseNum())
            .append("purchaseDescribe", getPurchaseDescribe())
            .append("remark", getRemark())
            .append("adviceNum", getAdviceNum())
            .append("adviceMoney", getAdviceMoney())
            .append("status", getStatus())
            .append("statusText", getStatusText())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
